Skip to content

docs: improve eventing image and wording#3303

Merged
csviri merged 2 commits intooperator-framework:mainfrom
csviri:docs-impr-reconcile
Apr 22, 2026
Merged

docs: improve eventing image and wording#3303
csviri merged 2 commits intooperator-framework:mainfrom
csviri:docs-impr-reconcile

Conversation

@csviri
Copy link
Copy Markdown
Collaborator

@csviri csviri commented Apr 20, 2026

The dependent resource might be confusing here, since we don't mean the feature but rather secondary resources.

Signed-off-by: Attila Mészáros a_meszaros@apple.com

Copilot AI review requested due to automatic review settings April 20, 2026 12:18
@openshift-ci openshift-ci Bot requested review from metacosm and xstefank April 20, 2026 12:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates documentation to reduce confusion around “dependent resources” terminology in the eventing docs, and refreshes the event-sources architecture illustration.

Changes:

  • Reworded eventing documentation from “dependent resources” to “managed resources” in key places.
  • Replaced the event-sources PNG diagram reference with an inline Mermaid diagram.
  • Simplified the DeploymentReconciler example in features.md by removing TestExecutionInfoProvider from the implements list.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
docs/content/en/docs/documentation/eventing.md Terminology tweaks and diagram change (PNG → Mermaid) in the eventing documentation.
docs/content/en/docs/documentation/features.md Updates a Java example signature in the features documentation.
docs/static/images/event-sources.png Updated static diagram asset (now seemingly unused after switching to Mermaid).
Comments suppressed due to low confidence (2)

docs/content/en/docs/documentation/eventing.md:238

  • There’s a typo in the field name: .metada.generation should be .metadata.generation. Also, the sentence starting with ...triggered if either managed resources are changed... would read more clearly as ...if either the managed resources change... (or similar).
managed resources are changed or the primary resource `.spec` field is changed. If other fields
like `.metadata` are changed on the primary resource, the reconciliation could be skipped. This
behavior is supported out of the box and reconciliation is by default not triggered if
changes to the primary resource do not increase the `.metadata.generation` field.
Note that changes to `.metada.generation` are automatically handled by Kubernetes.

docs/content/en/docs/documentation/eventing.md:18

  • Grammar issue: Event sources act as listen to events... is ungrammatical and reads like a typo (likely intended act as listeners or act by listening). Since this paragraph is being edited, it would be good to fix this wording for clarity.
`Reconciler` will only listen by default to events affecting the primary resource type it is
configured for. Event sources act as listen to events affecting these secondary resources so
that a reconciliation of the associated primary resource can be triggered when needed. Note that

Comment thread docs/content/en/docs/documentation/eventing.md
Comment on lines 15 to +16
public class DeploymentReconciler
implements Reconciler<Deployment>, TestExecutionInfoProvider {
implements Reconciler<Deployment> {
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is titled/described as improving the eventing docs image/wording, but this hunk also changes the example in features.md (removing TestExecutionInfoProvider). If this is intentional, consider briefly mentioning it in the PR description (or splitting into a separate docs PR) to keep review scope clear.

Copilot uses AI. Check for mistakes.
Comment thread docs/content/en/docs/documentation/eventing.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (2)

docs/content/en/docs/documentation/eventing.md:18

  • The sentence “Event sources act as listen to events…” is ungrammatical and reads like a typo. Consider rephrasing to something like “Event sources act as listeners for events…” to improve clarity.
`Reconciler` will only listen by default to events affecting the primary resource type it is
configured for. Event sources act as listen to events affecting these secondary resources so
that a reconciliation of the associated primary resource can be triggered when needed. Note that

docs/content/en/docs/documentation/eventing.md:238

  • Typo in the inline code: .metada.generation should be .metadata.generation.
managed resources are changed or the primary resource `.spec` field is changed. If other fields
like `.metadata` are changed on the primary resource, the reconciliation could be skipped. This
behavior is supported out of the box and reconciliation is by default not triggered if
changes to the primary resource do not increase the `.metadata.generation` field.
Note that changes to `.metada.generation` are automatically handled by Kubernetes.

csviri added 2 commits April 22, 2026 14:31
The dependent resource might be confusing here, since we don't mean the feature but rather resource that we manage

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
@csviri csviri force-pushed the docs-impr-reconcile branch from 8ba022b to 77672cd Compare April 22, 2026 12:31
@csviri csviri merged commit eb67752 into operator-framework:main Apr 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants